#ifndef CE_DEFINITIONS_H
#define CE_DEFINITIONS_H

#define CE_ENTER_NAMESPACE namespace CocosEngine {
#define CE_LEAVE_NAMESPACE };
#define CE_USING_NAMESPACE using namespace CocosEngine;

#define CE_WORKSPACE_URI			"http://www.cocosfactory.com/workspace"
#define CE_WORKSPACE_NS				"cfw"

#define CE_TAG_COCOSFACTORY			"CocosFactory"
#define CE_TAG_WORKSPACE			"Workspace"
#define CE_TAG_PROJECT				"Project"
#define CE_TAG_SCENE_GROUP			"Scenes"
#define CE_TAG_SCENE				"Scene"

#define CE_ATTR_NAME				"name"
#define CE_ATTR_FILE				"file"
#define CE_ATTR_START_SCENE			"startScene"

#define CE_XPATH_COCOSFACTORY		"/" CE_TAG_COCOSFACTORY
#define CE_XPATH_WORKSPACE			CE_XPATH_COCOSFACTORY "/" CE_WORKSPACE_NS ":" CE_TAG_WORKSPACE
#define CE_XPATH_PROJECT			CE_XPATH_WORKSPACE "/" CE_WORKSPACE_NS ":" CE_TAG_PROJECT
#define CE_XPATH_SCENE_GROUP		CE_XPATH_PROJECT "/" CE_WORKSPACE_NS ":" CE_TAG_SCENE_GROUP
#define CE_XPATH_SCENE				CE_XPATH_SCENE_GROUP "/" CE_WORKSPACE_NS ":" CE_TAG_SCENE

#endif // CE_DEFINITIONS_H